package org.example;

import java.io.Serializable;

/**
 * @author TonySong
 * @date 2025/7/30 0030
 * @time 11:31
 */
public class User extends Person implements Serializable,IWork {

    private int age;
            String name;
    protected String mobile;
    public String sex ="女";


    public void show(){
        System.out.println("你好");
    }

    public int sum(int a,int b){
        return a+b;
    }

    @Override
    public void doWork() {
        System.out.println("工作的接口");
    }
}
